package homework;

/*public class Person{
    private String name="Person";
    int age = 0;

}

public class Child extends Person{
    public String grade;

    public static void main(String[] args) {
        Person p = new Child();
        System.out.println(p.name);
    }

}*/

import java.sql.SQLOutput;

/*class B{
    public int Func(){
        System.out.println("B");
        return 0;
    }
}

class D extends B{
    public int Func(){
        System.out.println("D");
        return 0;
    }
}*/
public class homework {
    public static void main(String[] args) {
       /* B a = new B();
        B b = new D();
        a.Func();
        b.Func();*/


        /*int a = 10;
        int b = 5;

        System.out.println(a + b);  //15
        System.out.println(a - b);  //5
        System.out.println(a * b);  //50
        System.out.println(a / b);  //2
        System.out.println(a % b);  //0 -->模运算相当于数学中除法的余数*/


        int a = 1;
        int b = 0;
        System.out.println(a%b);
    }
}